package com.ctshk.rpc.localfun.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/3/25
 */
@Data
@ApiModel(value = "产品列表相应")
public class LocalFunReservationListDTO implements Serializable {

    @ApiModelProperty(value = "产品id")
    private Long id;

    @ApiModelProperty(value = "产品图片")
    private String photosJson;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "主题")
    private String themeJson;

    @ApiModelProperty(value = "所属城市id 对应地区")
    private Long cityId;
    @ApiModelProperty(value = "地区")
    private String cityName;

    @ApiModelProperty(value = "景点id")
    private Long funType;
    @ApiModelProperty(value = "景点名称")
    private String funName;

    @ApiModelProperty(value = "成本价")
    private BigDecimal costPrice;

    @ApiModelProperty(value = "币种编码")
    private String currency;

    @ApiModelProperty(value = "加辐价格类型 ")
    private Integer adjustType;

    @ApiModelProperty(value = "加辐价格数值 ")
    private BigDecimal amount;

    @ApiModelProperty(value = "加辐价格数值 ")
    private BigDecimal percent;

    @ApiModelProperty(value = "可售库存 ")
    private Integer soldNumber;

    @ApiModelProperty(value = "开售时间类型(1 立即开售,2 定时开售)")
    private Integer startSaleTimeType;

    @ApiModelProperty(value ="开售时间起始")
    private LocalDate startSaleTimeBegin;

    @ApiModelProperty(value = "开售时间结束")
    private LocalDate startSaleTimeEnd;

    @ApiModelProperty(value = "是否允许自由行打包(1 允许,2 不允许,3 只限打包)")
    private Integer allowPackage;

    @ApiModelProperty(value = "成本有效期开始时间")
    private LocalDate timeBegin;

    @ApiModelProperty(value = "成本有效期结束时间")
    private LocalDate timeEnd;

    @ApiModelProperty(value = "成本有效期开始时间")
    private LocalDate saleTimeBegin;

    @ApiModelProperty(value = "成本有效期结束时间")
    private LocalDate saleTimeEnd;

    @ApiModelProperty(value = "")
    private Long strategyId;

    @ApiModelProperty(value = "关联ID")
    private Long relationId;

    @ApiModelProperty(value = "权限范围类型（1：自营禁售 2 所有部门 3指定部门/人员）")
    private Integer visableType;


}
